Ext.onReady(function(){

	//================================================================
	// Set ExtJS proterty.
	//================================================================
	Ext.BLANK_IMAGE_URL = m_ContextName + '/common/ext-2.2/resources/images/default/s.gif';
	Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
	Ext.QuickTips.init();
	
	//================================================================
	// Set Layout using Ext Viewport
	//================================================================
	var viewport = new Ext.Viewport({
		layout: 'border',
		items:[
			gridFilePath
		]
	});
	
	
	//================================================================
	// Action Function
	//================================================================
	function fnActionlnit()
	{
		if (m_RootType == '1')
		{
			// 분석대상 파일목록 (임시로 정해진것만 가져온다.)
			var objParams = {
				"params" : ""
			}
			objParams["params"] = 1;

			httpProxyFilePath.conn.url = m_ContextName + '/analysis/ajax_path_normal.json';
			httpProxyFilePath.getConnection().extraParams = objParams;

			gstoreFilePath.load();
		}
		else if (m_RootType == '2')
		{
			// 분석완료 파일목록 (임시로 정해진것만 가져온다.)
			var objParams = {
				"params":""
			}
			objParams["params"] = 1;

			httpProxyFilePath.conn.url = m_ContextName + '/analysis/ajax_path_normal2.json';
			httpProxyFilePath.getConnection().extraParams = objParams;

			gstoreFilePath.load();
		}
	}

	fnActionlnit();
		
});

	
	

	
	
	
	
	
	
	
	
	
	
	